﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TrendingControl.ascx.cs" Inherits="controls_TrendingControl" %>
<section class="trending scroll">
    <div class="top-list">
        <asp:Repeater ID="rptTrending" runat="server">
            <ItemTemplate>
                <article class='<%# Eval("Class") %>'>
                    <p class="type"></p>
                    <div class="cover" style='<%# "background-image: url("+Eval("Picture")+");"%>)'>
                        <a href='<%# Eval("Link") %>'></a>
                    </div>
                    <header>
                        <h1>
                            <a href='<%# Eval("Link") %>'><%# Eval("Title") %> 
                            </a>
                        </h1>
                        <time datetime='<%# Eval("PublishDate") %>'></time>
                        <p class="cate"><%# Eval("CategoryID") %></p>
                        <p class="summary"><%# Eval("Descrpition") %></p>
                    </header>
                    <%-- Những tin liên quan --%>
                    <ul class="relate">
                        <%--<li class=""><a href="#"></a></li>--%>
                    </ul>
                </article>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</section>
